TrivVectCross3Vecs

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

TrivVectCross3Vecs()  

SYNOPSIS

triv_lib/geomat4d.c:180

void TrivVectCross3Vecs(TrivVType A,
                        TrivVType B,
                        TrivVType C,
                        TrivVType Res)
 

DESCRIPTION

Computes a vector in R^4 that is perpendicular to the given three vectors.


  with(linalg);
  readlib(C);
 
  d := det( matrix( [ [I, J, K, L],
                    [A[0], A[1], A[2], A[3]],
                    [B[0], B[1], B[2], B[3]],
                    [C[0], C[1], C[2], C[3]] ] ) );
  coeff( d, I );
  coeff( d, J );
  coeff( d, K );
  coeff( d, L );  

PARAMETERS:

A, B, C: The three vectors to compute their cross product.

Res: Where the output goes into.  

FUNCTION RETURN VALUE

void

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:10 GMT, October 17, 2022